<div class="col-left clearfix">
    <div class="wrap-nav-left">
      <?php if($categories){ ?>
        <ul class="nav-left">
            <?php foreach($categories as $item){ ?>
                <?php if(1==0){ ?>
                <li class="categories_list<?php echo stristr($path,  $item['path']) ? ' current' : ''; ?>">
                <?php } ?>

                <?php $categories_list = explode(',', $item['path']); ?>
                <li class="categories_list<?php echo in_array((int)$path,  $categories_list) ? ' current' : ''; ?>">
                    <a class="category_title" href="<?php echo $item['href']; ?>"><?php echo $item['name']; ?></a>
                    <?php if(!empty($item['children'])){ ?>
                        <ul class="left_sup">
                            <?php foreach($item['children'] as $child){ ?>
                                <li <?php echo stristr($path, $child['path']) ? 'class="active"' : ''; ?>>
                                    <a href="<?php echo $child['href']; ?>"><?php echo $child['name']; ?></a>
                                    <?php if(!empty($child['children'])){ ?>
                                        <ul class="left_sup2">
                                            <?php foreach($child['children'] as $child_level2){ ?>
                                                <li <?php echo stristr($path, $child_level2['path']) ? 'class="active"' : ''; ?>>
                                                    <a href="<?php echo $child_level2['href']; ?>"><?php echo $child_level2['name']; ?></a>
                                                </li>
                                            <?php } ?>
                                        </ul>
                                    <?php } ?>
                                </li>
                            <?php } ?>
                        </ul>
                    <?php } ?>
                </li>
            <?php } ?>
        </ul>
    <?php } ?>
    </div><!--wrap-nav-left-->

    <div class="wrap-min-banner">
      <a href="<?php echo $giftcard_link; ?>"> <img src="catalog/view/theme/<?php echo $template; ?>/images/min-banner.png"></a>
    </div><!--wrap-min-banner-->

    <div class="wrap-kunde-service">
      <div class="bg-ks">
          <h4>Kundeservice</h4>
          <ul class="list-kunde-service">
            <li><a href="#">Spar 5% på onlinekøb som medlem </a></li>
            <li><a href="#">Fri fragt og retur ved køb over 500 DKK</a></li>
            <li><a href="#">Telefonsupport alle ugens dage (man-søn kl. 11-16)</a></li>
            <li><a href="#">Ingen kortgebyrer</a></li>
            <li><a href="#">Sikker betaling</a></li>
            <li><a href="#">30 dages fortrydelsesret</a></li>
            <li><a href="#">Varer kan afhentes i butik</a></li>
            <li><a href="#">1000 m2 butik</a></li>
            <li><a href="#">Levering 1-5 hverdage</a></li>
          </ul>
      </div>
    </div><!--wrap-kunde-service-->
    <div class="wrapiframe-facebook">
        <div class="fb-like-box" data-href="https://www.facebook.com/Havhokeren" data-width="215" data-height="345" data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="false" data-show-border="true"></div>
    </div><!--wrap-iframe-facebook-->

    <?php if(isset($product_left)){ ?>
        <div><?php echo $product_left ?></div>
    <?php } ?>
</div><!--col-left -->

<script type="text/javascript"><!-- 	
	jQuery(document).ready(function(){         
		initCategoryMenu();
	}) 
    
    function initCategoryMenu() {
        jQuery('#categories_menu li ul.left_sup').hide();
        jQuery('#categories_menu li ul.left_sup2').hide(); 
        jQuery('#categories_menu li.current ul.left_sup').show();       
        jQuery('#categories_menu li.active ul.left_sup2').show();
        jQuery('#categories_menu li a.category_title').click(function(event){
            /*
            var checkElement = jQuery(this).next();
            if((checkElement.is('ul')) && (jQuery(checkElement).is(':visible'))) {
                return false;
            }
            if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
                jQuery('#categories_menu li ul:visible').slideUp('normal');
                checkElement.slideDown('normal');
                return false;
            }
            */
        });
    }
//--></script>